/*********** HOME & GALLERY ********/

#page_centering {
	width: 900px;
	margin: 0 auto;
}

#header {
	background: url(images/logo.png) no-repeat left;
	height: 144px;
}

.hrule {
	width: 850px;
	height: 2px;
	background-color: #C9C4C2;
	margin: 0 auto;
}

#nav_primary {
	position: absolute;
	top: 6px;
	left: 300px;
	margin: 0;
	padding: 0;
}

#nav_primary li {
	list-style-type: none;
	background: #666;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	height: 15px;
	width: 60px;
	padding: 10px;
	margin: 3px;
	text-align: center;
}

/************ EDITOR ***************/

html, body {
	margin: 0;
	padding: 0;
	font-family: Helvetica;
	height: 100%;
}

#drawcanvas {
	width: 100%;
	height: 100%;
	position: absolute;
}

#savefiledata {
	font-size: 10px;
	color: gray;
}

/* TOOLBAR */

#toolbar {
	position: absolute;
	top: 10px;
	right: 11px;
}

#toolbar, #toolbar ul {
	padding: 0;
	margin: 0;
	list-style: none;
	background-color: lightgray;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#toolbar a, #toolbar span {
	color: black;
	text-decoration: none;
	display: block;
	width: 90px;
	padding: 10px;
}

#toolbar li {
	float: left;
	width: 100px;
	text-align: center;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#toolbar li ul {
	position: absolute;
	width: 100px;
	left: -999em;
}

#toolbar li:hover ul {
	left: auto;
}

#toolbar li ul li.rule.selected {
	background-color: #e5e5e5;
}

#rulelist {
	position: static !important;
}

#rulelist li.rule:last-child {
	border-bottom: 1px dashed black;
}

#toolbar li:hover {
	background-color: gray;
}

/* PROPBAR */

#propbar {
	background: url(smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png);
	background-repeat: repeat-x;
	border-top: 2px solid black;
	width: 100%;
	height: 120px;
	background-color: #ccc;
	overflow: auto;
	position: relative;
	top: -122px;
	z-index: 100;
	display: none;
}

.ui-icon-rect {
	background-position: 0px -240px;
}

.ui-icon-tri {
	background-position: -16px -240px;
}

.ui-icon-circ {
	background-position: -32px -240px;
}

#propbar label, #propbar input {
	margin: 5px;
	padding: 5px;
	font-size: 75%;
}

#proprot-draggable {
	vertical-align: middle;
}

#propsavebutton {
	position: absolute;
	right: 10px;
	top: 10px;
}

.ui-state-default {
	display: inline-block;
	vertical-align: middle;
}

/* CANVAS */

#canvas {
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

.ui-resizable-se {
	z-index: 0 !important;
}

#canvas div.ui-selecting {
	border: 1px dotted black;
}

#canvas div.ui-selected {
	border: 1px dashed black;
}

.shape {
	position: absolute;
}

.shape.rule {
	color: gray;
	text-align: center;
	border: 1px dashed gray;
	background-color: white !important;
}

.shape.CIRCLE {
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
}

.shape.TRIANGLE div.triangle-left {
	border-right: solid;
	border-top: solid transparent;
	width: 0;
	height: 0;
	position: absolute;
}

.shape.TRIANGLE div.triangle-right {
	border-left: solid;
	border-top: solid transparent;
	width: 0;
	height: 0;
	position: absolute;
}